package com.iflysse.mapper;

import com.iflysse.pojo.po.resp.ClassPoResp;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Component
public interface ClassMapper {

    @Select({"select distinct(class_no) as className from tb_student"})
    List<ClassPoResp> getAllClass();
}
